home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / postgres / postgre1.z / postgre1 / sample / Makefile next >
Encoding:
Makefile  |  1993-05-07  |  829 b   |  36 lines

  1. TREE=    /usr/postgres
  2. OD=    /usr/postgres/obj.linux
  3. SD=    /usr/postgres/src
  4. PORTNAME=    linux
  5. PORTDIR=    port/linux
  6. PORTLDFLAGS= # -static
  7.  
  8. GCFLAGS=    -O2 # -g -Wmissing-prototypes -DNO_ASSERT_CHECKING
  9. BKIFLAGS=
  10. LDFLAGS=    $(GCFLAGS)
  11. CFLAGS=        $(GCFLAGS) \
  12.         -I$(SD)/lib/H \
  13.         -I$(SD)/lib/H/obsolete \
  14.         -I$(OD)/lib/H \
  15.         -I$(SD)/$(PORTDIR) \
  16.         -D__USE_BSD_SIGNAL
  17. DIRS=        ./dirs.mk
  18. LIBS=        -lm -lipc
  19. DEMOCCOPTS=
  20. #
  21. #    Makefile.raw -- raw makefile for sample libpq programs.
  22. #
  23. #    In order to generate a makefile from this file, cd to the
  24. #    newconf directory and type 'Make sample'.
  25. #
  26. #    $Header: /private/postgres/sample/RCS/Makefile.raw,v 1.2 1991/12/10 05:11:56 mao Exp $
  27. #
  28.  
  29. SAMPLIBS=    libpq.a
  30.  
  31. pgstats: pgstats.o
  32.     $(CC) $(CFLAGS) -o pgstats pgstats.o $(OD)/$(SAMPLIBS) $(LIBS)
  33.  
  34. pftp: pftp.o
  35.     $(CC) $(CFLAGS) -o pftp pftp.o $(OD)/$(SAMPLIBS) $(LIBS)
  36.